package d0325;

public class PrintArrayTest {
    public static <E>  void printArray(E[] arrs){
        for (E i:
        arrs){
            System.out.println(i);
        }
    }

   /* public static void printArray(Double[] arrs) {
        for (String i:
        arrs){
            System.out.println(i);
        }

    }

    public static void rintArray(Double[] arrs) {
        for (Double i:
        arrs){
            System.out.println(i);
        }

    }*/

    public static  void main(String[] args) {
        Integer[] intArrs={1,2,3,4,5};
        String[] strArrs={"ab","cd","ef"};
        Double[] douArrs={1.1,1.2,1.3,1.4};
       printArray(intArrs);
        printArray(strArrs);
        printArray(douArrs);
    }

    private static void printArray(String[] strArrs) {
    }
}
